<?php
@session_start(); 
include 'public/magicsetting.php';
/**
 *@desc:Directory seperator  
 */
define('DS',DIRECTORY_SEPARATOR);
/**
 *@desc:This variable define root path
 */
define("ROOT",  getcwd());
/**
 *@desc: Define Magic PHP Library Folder path over here 
 */
define("MAGICPHP_LIB_PATH",ROOT.DS."magiclibrary".DS);
/**
 *@desc:This variable user to render model view and controller
 */
define("INCLUDE_PATH", ROOT.DS."application".DS);
/**
 *@desc:This variable is relative path of magic library   
 */
define('LIB_PATH',ROOT.DS."library".DS);
/**
 *@desc:This variable define template path 
 */
define('TEMPLATE_PATH',ROOT.DS.'public'.DS.'templete'.DS);
/**
 *@desc:This variable is used to define config file path . 
 */
define("CONFIG_PATH",ROOT.DS.'log'.DS.'config.ini');
/**
 *@desc:This is variable define path of the cache directory 
 */
define('CACHE_DIR',ROOT.DS.'public'.DS.'cache');
/**
 *@desc :Directory seperator 
 */        
define('M_D',"model");
define('C_D',"controller");
define('V_D',"view");
/**
 * @desc:This is query type constant  
 */
define("INSERSQL", "insert");
define("UPDATESQL", "update");
define("ROWCOUNTER", "counter");
define("DELETESQL", "delete");
define("FETCHTABLEFIELD", "fetch_field");
define("FETCHSQL", "fetch");
define("LEFT_JOIN", "left_join");
define("FETCHWITHMULTIPLE_TABLE", "f_m_table");
define("QUERY_NOT_SET", "Query is not Set !");

/**
 * @desc : Query Statics  
 */
define("INSERT_IN_TO", "insert into");
define("VLU", "values");
define("UPDATE", "update");
define("UPDATE_SET", "set");
define("SLCT", "select");
define("ASTRIKE", "*");
define("C_START", "count(*)");
define("DLCT", "delete");
define("FRM", "from");
define("WHR", "where");
/**
 * @desc : Error Constant 
 */
define("LEFT_JOIN_ERROR", "Please Use Proper Left Join syntaxt.");
define("RIGHT_JOIN_ERROR", "Please Use Proper Right Join syntaxt.");
define("JOIN_ERROR", "Please Use Proper Join syntaxt.");
/**
 * @desc : Define Css Path 
 */
define('MAGIC_CSS_PATH',SITE_URL.'public/css/');
/**
 * @desc : Define JS Path 
 */
define('MAGIC_JS_PATH',SITE_URL.'public/js/');
/**
 * @desc: Define directory path of image
 */
define('MAGIC_DIR_IMAGE_PATH',ROOT.DS.'public'.DS.'images'.DS);
/**
 * @desc : Define Http url of File includes images 
 */

define('MAGIC_HTTP_IMAGE_PATH',SITE_URL.'public/images/');

/**
 *@desc: Include bootstrap class and load file from here . 
 */ 

include 'public/bootstrap.php';
?>